package com.example.javatwo.mapper.cg.wmj;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.example.javatwo.pojo.cg.wmj.Supplier;
import com.example.javatwo.pojo.cg.wmj.SupplierType;

@Mapper
public interface SupplierMapping {
	
	//查询
	public List<Supplier> QuerySupplier();
	
	//新增
	public void InsertSupplier(Supplier sup);
	
	//分页查询
	public List<Supplier> QuerySupplierPage(@Param("currentPage")int currentPage);
	
	//查询所有提哦啊书
	public int QuerySumCount();
	
	public String QueryID();
	
	public List<SupplierType> QueryType();
	
}
